package com.yun;

import com.yun.controller.TestController;
import com.yun.entity.User;
import com.yun.mapper.UserMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.List;

/**
 * @Author: fxy
 * @Date: 2023/03/07/19:02
 * @Description:
 */
@SpringBootApplication
@MapperScan("com.yun.mapper")
public class YunStartApplication {
	public static void main(String[] args) {
		ConfigurableApplicationContext run = SpringApplication.run(YunStartApplication.class, args);
		/*TestController bean = run.getBean(TestController.class);

		UserMapper bean1 = run.getBean(UserMapper.class);
		List<User> users = bean1.selectUser();*/

	}
}
